package com.pgybook.front.web.util;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: feeling
 * Date: 13-11-22
 * Time: 下午12:36
 */
public class AUtil {

    public static <T> T get(List<T> list, int index) {
        if (index < 0 || list == null || index >= list.size()) {
            return null;
        }
        return list.get(index);
    }
}
